


<script setup>
import {ref, reactive} from 'vue'
import ZiComponent from './1-4、Zi在组件上使用.vue'

const isActive = ref(true)
</script>

<template>
    <!-- 父组件的模板123 -->
    
    <ZiComponent class="baz boo"></ZiComponent>
    <ZiComponent :class="{ active: isActive }" ></ZiComponent>
</template>
    